package com.pug.mapper.hotel;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pug.pojo.HotelTypeNum;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface HotelTypeNumMapper extends BaseMapper<HotelTypeNum> {
    public int queryStoreByHotelIdAndTypeId(@Param("hotelId") Long hotelId,@Param("hotelTypeId") Long hotelTypeId);
    public int deleteNum(@Param("hotelId") Long hotelId,@Param("hotelTypeId") Long hotelTypeId,@Param("num") int num);
}
